From f97feced6512767c5f890aa67be39d1747107311 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 22 Jul 2025 17:38:41 -0400 Subject: [PATCH] soft-reboot: Also handle /boot Closes: https://github.com/ostreedev/ostree/issues/3486 Signed-off-by: Colin Walters --- src/libostree/ostree-soft-reboot.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/libostree/ostree-soft-reboot.c b/src/libostree/ostree-soft-reboot.c index a94ab41f..809b7991 100644 --- a/src/libostree/ostree-soft-reboot.c +++ b/src/libostree/ostree-soft-reboot.c @@ -72,6 +72,9 @@ _ostree_prepare_soft_reboot (GError **error) if (!using_composefs) return glnx_throw (error, "failed to mount with composefs"); + if (!otcore_mount_boot (sysroot_path, OTCORE_RUN_NEXTROOT, error)) + return FALSE; + if (!otcore_mount_etc (config, &metadata_builder, OTCORE_RUN_NEXTROOT, error)) return FALSE; -- 2.30.2